<?php
/*
  $Id: privacy.php,v 1.22 2003/06/05 23:26:23 hpdl Exp $

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2003 osCommerce

  Released under the GNU General Public License
*/

  require('includes/application_top.php');

  require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_FEATURES);

  $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_FEATURES));
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html <?php echo HTML_PARAMS; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<?php
# Custom Javascripts
require(DIR_WS_INCLUDES . 'custom_javascript.php');
?>
</head>
<body id="page" class="font-large width-thin" marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<!-- quick menu //-->
<?php require('quickfind_header.php'); ?>
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->

<!-- body //-->
<table border="0" width="100%" align="center" cellspacing="0" cellpadding="0">
  <tr>
<!-- body_text //-->    

    <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="0">
<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
    </table></td>
<td>&nbsp;</td>
<td width="100%" valign="top"><table border="0" width="100%" align="center" cellspacing="0" cellpadding="0">
      <tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <tr>
        <td>



<?php

$error_no = $_SERVER['REDIRECT_STATUS'];

switch ($error_no)
{
     case 400:
          $error_output = "<center><h1>&quot;Bad Request&quot; Error Code 400</h1>";
          $error_output .= "<h2>The browser has made a Bad Request<br>";
          $error_output .= "<a href=\"/contact_us.php\">Contact</a>the Store Owner";
          $error_output .= " if you feel this to be in error</h2></center>";
     break;
     case 401:
          $error_output = "<center><h1>&quot;Authorization Required&quot; Error Code 401</h1><br>";
          $error_output .= "<h3>You have supplied the wrong information to access a secure area<br>";
          $error_output .= "<a href=\"/contact_us.php\">Contact</a> the Store Owner";
          $error_output .= " if you feel this to be in error</h3></center>";
     break;
     case 403:
          $error_output = "<center><h1>&quot;Forbidden Access&quot; Error Code 403</h1><br>";
          $error_output .= "<h3>You are denied access to this area<br>";
          $error_output .= "<a href=\"/contact_us.php\">Contact</a> the Store Owner";
          $error_output .= " if you feel this to be in error</h3></center>";
     break;
     case 404:
          $error_output = "<center><h1>&quot;Page Not Found&quot; Error Code 404</h1><br>";
          $error_output .= "<h3>The page you are looking for cannot be found<br>";
          $error_output .= "<a href=\"/contact_us.php\">Contact</a> the Store Owner";
          $error_output .= " if you feel this to be in error</h3></center>";
     break;
     case 500:
          $error_output = "<center><h1>&quot;Internal Server Error&quot; Error Code 500</h1><br>";
          $error_output .= "<h3>The server has encountered an internal error<br>";
          $error_output .= "<a href=\"/contact_us.php\">Contact</a> the Store Owner";
          $error_output .= " if you feel this to be in error</h3></center>";
     break;
     default:
          $error_output = "<center><h1>Error Page</h1><br>";
          $error_output .= "<h3>This is the custom error Page<br>";
          $error_output .= "You should be <a href=\"/\">here</a></h3></center>";
}

?>


<?php
echo $error_output;
?>


	</td>
	</tr>
	<tr>
        <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <tr>
        <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
          <tr class="infoBoxContents">
            <td><table border="0" width="100%" cellspacing="0" cellpadding="2">
              <tr>
                <div class="buttons"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">Continue</a>'; ?></div>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
<?php
/*
<!--
<td>&nbsp;</td>
    <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="0">
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
    </table></td>
-->
*/
?>
  </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
<br>
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
